package service;

import dao.ManagerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Manager;
import pojo.Memberinfo;

@Service
public class ManagerServiceImpl implements ManagerService {

    private ManagerMapper managerMapper;

    public void setManagerMapper(ManagerMapper managerMapper) {
        this.managerMapper = managerMapper;
    }


    public Manager login(String name, String password) {
        return managerMapper.login(name,password);
    }
}
